﻿<%@page language="java" pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>奋青网-后台管理系统登录</title>
<link href="../css/Entrance.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../js/Jquery-1-5-2.js"></script>
<script type="text/javascript">
function checkform(myform){
 for(i=0;i<myform.length;i++){
  if(myform.elements[i].value==""){
   alert(myform.elements[i].title+"不能为空!");
   myform.elements[i].focus();
   return false;
  }
 }
 }
</script>
 
</head>
<body>
<div class="Entrance_Box"> <a href=""><img src="../images/LOGO_box.jpg"/></a>
  <div class="Entrance_Box_Top"></div>
  <div class="Entrance_Box_Middle">
    <div id="Login_Box">
      <p class="Entrance_Title">管理员登录</p>
      <div class="Title_Line"></div>
      <form action="AdminServlet" method="post" name="form1" onSubmit="return checkform(form1)">
        <div class="Form_Title">账号：</div>
        <input type="text" class="Entrance_Input"  name="username" id=username/>
        <br/>
        <div class="Form_Title">密码：</div>
        <input type="password" class="Entrance_Input" name="pasword" id="pasword"/><span id="paswordSpan"></span>
        <br/>
        <div class="Form_Title">验证码：</div>
        <input type="text" class="Entrance_Input" name="yz"/>
        <img src="validate.jsp"  name="validate" border="1" style="cursor : pointer;" onclick="refresh()'"/>
        <br/> 
        <input type="hidden" name="status" value="findLogin"/>
        <input type="submit" class="Entrance_Button" value="登录" name="submit"/>
      </form>
     <!--<script>alert('登录失败');</script>-->
    </div>
  </div>
  <div class="Entrance_Box_Bottom"></div>
</div>
</body>
</html>
